package com.ztesoft.web.baseconfig.db.arg;

import java.util.ArrayList;
import java.util.List;

import org.apache.commons.lang.StringEscapeUtils;
import org.apache.commons.lang.StringUtils;

public class DmPlanArg {
	private String pk_name = "DM_PLAN_ID";

	private String orderByClause;

	private String groupByClause;

	private String columns;

	private String countsql1;

	private String countsql2;

	private boolean distinct;

	private int rowStart = 0;

	private int rowEnd = 10;

	private List<DmPlanCriteria> oredCriteria;

	public DmPlanArg() {
		oredCriteria = new ArrayList<DmPlanCriteria>();
	}

	public void setPk_name(String pk_name) {
		this.pk_name = StringEscapeUtils.escapeSql(pk_name);
	}

	public String getPk_name() {
		return pk_name;
	}

	public void setOrderByClause(String orderByClause) {
		this.orderByClause = StringEscapeUtils.escapeSql(orderByClause);
	}

	public String getOrderByClause() {
		return orderByClause;
	}

	public void setGroupByClause(String groupByClause) {
		this.groupByClause = StringEscapeUtils.escapeSql(groupByClause);
	}

	public String geGroupByClause() {
		return groupByClause;
	}

	public void setColumns(String columns) {
		this.columns = StringEscapeUtils.escapeSql(columns);
	}

	public String geColumns() {
		return columns;
	}

	public void setCountsql1(String countsql1) {
		this.countsql1 = StringEscapeUtils.escapeSql(countsql1);
	}

	public String geCountsql1() {
		return countsql1;
	}

	public void setCountsql2(String countsql2) {
		this.countsql2 = StringEscapeUtils.escapeSql(countsql2);
	}

	public String geCountsql2() {
		return countsql2;
	}

	public void setDistinct(boolean distinct) {
		this.distinct = distinct;
	}

	public boolean isDistinct() {
		return distinct;
	}

	public void setRowStart(int rowStart) {
		this.rowStart = rowStart;
	}

	public void setRowEnd(int rowEnd) {
		this.rowEnd = rowEnd;
	}

	public int getRowStart() {
		return rowStart;
	}

	public int getRowEnd() {
		return rowEnd;
	}

	public List<DmPlanCriteria> getOredCriteria() {
		return oredCriteria;
	}

	public void or(DmPlanCriteria criteria) {
		oredCriteria.add(criteria);
	}

	public DmPlanCriteria or() {
		DmPlanCriteria criteria = createCriteriaInternal();
		oredCriteria.add(criteria);
		return criteria;
	}

	public DmPlanCriteria createCriteria() {
		DmPlanCriteria criteria = createCriteriaInternal();
		if (oredCriteria.size() == 0) {
			oredCriteria.add(criteria);
		}
		return criteria;
	}

	protected DmPlanCriteria createCriteriaInternal() {
		DmPlanCriteria criteria = new DmPlanCriteria();
		return criteria;
	}

	public void clear() {
		oredCriteria.clear();
		orderByClause = null;
		groupByClause = null;
		columns = null;
		countsql1 = null;
		countsql2 = null;
		distinct = false;
	}

	protected abstract static class GeneratedCriteria {
		protected List<DmPlanCriterion> criteria;

		protected GeneratedCriteria() {
			super();
			criteria = new ArrayList<DmPlanCriterion>();
		}

		public boolean isValid() {
			return criteria.size() > 0;
		}

		public List<DmPlanCriterion> getAllCriteria() {
			return criteria;
		}

		public List<DmPlanCriterion> getCriteria() {
			return criteria;
		}

		protected void addCriterion(String condition) {
			if (condition == null) {
				throw new RuntimeException("Value for condition cannot be null");
			}
			criteria.add(new DmPlanCriterion(condition));
		}

		protected void addCriterion(String condition, Object value, String property) {
			if (value == null) {
				throw new RuntimeException("Value for " + property + " cannot be null");
			}
			criteria.add(new DmPlanCriterion(condition, value));
		}

		protected void addCriterion(String condition, Object value, String property, int likeType) {
			if (value == null) {
				throw new RuntimeException("Value for " + property + " cannot be null");
			}
			criteria.add(new DmPlanCriterion(condition, value, likeType));
		}

		protected void addCriterion(String condition, Object value1, Object value2, String property) {
			if (value1 == null || value2 == null) {
				throw new RuntimeException("Between values for " + property + " cannot be null");
			}
			criteria.add(new DmPlanCriterion(condition, value1, value2));
		}

		public DmPlanCriteria andCriterionEqualTo(String criterion) {
			if (StringUtils.isBlank(criterion)) {
				criterion = "1=1";
			}
			addCriterion(criterion);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andDmPlanIdIsNull() {
			addCriterion("DM_PLAN_ID is null");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andDmPlanIdIsNotNull() {
			addCriterion("DM_PLAN_ID is not null");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andDmPlanIdEqualTo(Integer value) {
			addCriterion("DM_PLAN_ID =", value, "DM_PLAN_ID");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andDmPlanIdNotEqualTo(Integer value) {
			addCriterion("DM_PLAN_ID <>", value, "DM_PLAN_ID");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andDmPlanIdGreaterThan(Integer value) {
			addCriterion("DM_PLAN_ID >", value, "DM_PLAN_ID");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andDmPlanIdGreaterThanOrEqualTo(Integer value) {
			addCriterion("DM_PLAN_ID >=", value, "DM_PLAN_ID");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andDmPlanIdLessThan(Integer value) {
			addCriterion("DM_PLAN_ID <", value, "DM_PLAN_ID");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andDmPlanIdLessThanOrEqualTo(Integer value) {
			addCriterion("DM_PLAN_ID <=", value, "DM_PLAN_ID");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andDmPlanIdLike(Integer value) {
			addCriterion("DM_PLAN_ID like ", value, "DM_PLAN_ID", 1);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andDmPlanIdNotLike(Integer value) {
			addCriterion("DM_PLAN_ID  not like ", value, "DM_PLAN_ID", 1);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andDmPlanIdLeftLike(Integer value) {
			addCriterion("DM_PLAN_ID like ", value, "DM_PLAN_ID", 0);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andDmPlanIdNotLeftLike(Integer value) {
			addCriterion("DM_PLAN_ID  not like ", value, "DM_PLAN_ID", 0);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andDmPlanIdRightLike(Integer value) {
			addCriterion("DM_PLAN_ID like ", value, "DM_PLAN_ID", 2);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andDmPlanIdNotRightLike(Integer value) {
			addCriterion("DM_PLAN_ID  not like ", value, "DM_PLAN_ID", 2);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andDmPlanIdIn(List<Integer> values) {
			addCriterion("DM_PLAN_ID  in ", values, "DM_PLAN_ID");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andDmPlanIdNotIn(List<Integer> values) {
			addCriterion("DM_PLAN_ID not in ", values, "DM_PLAN_ID");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andDmPlanIdBetween(Integer value1, Integer value2) {
			addCriterion("DM_PLAN_ID between ", value1, value2, "DM_PLAN_ID");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andDmPlanIdNotBetween(Integer value1, Integer value2) {
			addCriterion("DM_PLAN_ID not between ", value1, value2, "DM_PLAN_ID");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSeqNbrIsNull() {
			addCriterion("SEQ_NBR is null");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSeqNbrIsNotNull() {
			addCriterion("SEQ_NBR is not null");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSeqNbrEqualTo(Integer value) {
			addCriterion("SEQ_NBR =", value, "SEQ_NBR");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSeqNbrNotEqualTo(Integer value) {
			addCriterion("SEQ_NBR <>", value, "SEQ_NBR");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSeqNbrGreaterThan(Integer value) {
			addCriterion("SEQ_NBR >", value, "SEQ_NBR");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSeqNbrGreaterThanOrEqualTo(Integer value) {
			addCriterion("SEQ_NBR >=", value, "SEQ_NBR");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSeqNbrLessThan(Integer value) {
			addCriterion("SEQ_NBR <", value, "SEQ_NBR");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSeqNbrLessThanOrEqualTo(Integer value) {
			addCriterion("SEQ_NBR <=", value, "SEQ_NBR");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSeqNbrLike(Integer value) {
			addCriterion("SEQ_NBR like ", value, "SEQ_NBR", 1);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSeqNbrNotLike(Integer value) {
			addCriterion("SEQ_NBR  not like ", value, "SEQ_NBR", 1);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSeqNbrLeftLike(Integer value) {
			addCriterion("SEQ_NBR like ", value, "SEQ_NBR", 0);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSeqNbrNotLeftLike(Integer value) {
			addCriterion("SEQ_NBR  not like ", value, "SEQ_NBR", 0);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSeqNbrRightLike(Integer value) {
			addCriterion("SEQ_NBR like ", value, "SEQ_NBR", 2);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSeqNbrNotRightLike(Integer value) {
			addCriterion("SEQ_NBR  not like ", value, "SEQ_NBR", 2);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSeqNbrIn(List<Integer> values) {
			addCriterion("SEQ_NBR  in ", values, "SEQ_NBR");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSeqNbrNotIn(List<Integer> values) {
			addCriterion("SEQ_NBR not in ", values, "SEQ_NBR");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSeqNbrBetween(Integer value1, Integer value2) {
			addCriterion("SEQ_NBR between ", value1, value2, "SEQ_NBR");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSeqNbrNotBetween(Integer value1, Integer value2) {
			addCriterion("SEQ_NBR not between ", value1, value2, "SEQ_NBR");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andPlanNameIsNull() {
			addCriterion("PLAN_NAME is null");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andPlanNameIsNotNull() {
			addCriterion("PLAN_NAME is not null");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andPlanNameEqualTo(String value) {
			addCriterion("PLAN_NAME =", value, "PLAN_NAME");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andPlanNameNotEqualTo(String value) {
			addCriterion("PLAN_NAME <>", value, "PLAN_NAME");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andPlanNameGreaterThan(String value) {
			addCriterion("PLAN_NAME >", value, "PLAN_NAME");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andPlanNameGreaterThanOrEqualTo(String value) {
			addCriterion("PLAN_NAME >=", value, "PLAN_NAME");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andPlanNameLessThan(String value) {
			addCriterion("PLAN_NAME <", value, "PLAN_NAME");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andPlanNameLessThanOrEqualTo(String value) {
			addCriterion("PLAN_NAME <=", value, "PLAN_NAME");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andPlanNameLike(String value) {
			addCriterion("PLAN_NAME like ", value, "PLAN_NAME", 1);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andPlanNameNotLike(String value) {
			addCriterion("PLAN_NAME  not like ", value, "PLAN_NAME", 1);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andPlanNameLeftLike(String value) {
			addCriterion("PLAN_NAME like ", value, "PLAN_NAME", 0);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andPlanNameNotLeftLike(String value) {
			addCriterion("PLAN_NAME  not like ", value, "PLAN_NAME", 0);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andPlanNameRightLike(String value) {
			addCriterion("PLAN_NAME like ", value, "PLAN_NAME", 2);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andPlanNameNotRightLike(String value) {
			addCriterion("PLAN_NAME  not like ", value, "PLAN_NAME", 2);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andPlanNameIn(List<String> values) {
			addCriterion("PLAN_NAME  in ", values, "PLAN_NAME");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andPlanNameNotIn(List<String> values) {
			addCriterion("PLAN_NAME not in ", values, "PLAN_NAME");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andPlanNameBetween(String value1, String value2) {
			addCriterion("PLAN_NAME between ", value1, value2, "PLAN_NAME");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andPlanNameNotBetween(String value1, String value2) {
			addCriterion("PLAN_NAME not between ", value1, value2, "PLAN_NAME");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andPlanDescIsNull() {
			addCriterion("PLAN_DESC is null");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andPlanDescIsNotNull() {
			addCriterion("PLAN_DESC is not null");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andPlanDescEqualTo(String value) {
			addCriterion("PLAN_DESC =", value, "PLAN_DESC");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andPlanDescNotEqualTo(String value) {
			addCriterion("PLAN_DESC <>", value, "PLAN_DESC");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andPlanDescGreaterThan(String value) {
			addCriterion("PLAN_DESC >", value, "PLAN_DESC");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andPlanDescGreaterThanOrEqualTo(String value) {
			addCriterion("PLAN_DESC >=", value, "PLAN_DESC");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andPlanDescLessThan(String value) {
			addCriterion("PLAN_DESC <", value, "PLAN_DESC");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andPlanDescLessThanOrEqualTo(String value) {
			addCriterion("PLAN_DESC <=", value, "PLAN_DESC");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andPlanDescLike(String value) {
			addCriterion("PLAN_DESC like ", value, "PLAN_DESC", 1);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andPlanDescNotLike(String value) {
			addCriterion("PLAN_DESC  not like ", value, "PLAN_DESC", 1);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andPlanDescLeftLike(String value) {
			addCriterion("PLAN_DESC like ", value, "PLAN_DESC", 0);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andPlanDescNotLeftLike(String value) {
			addCriterion("PLAN_DESC  not like ", value, "PLAN_DESC", 0);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andPlanDescRightLike(String value) {
			addCriterion("PLAN_DESC like ", value, "PLAN_DESC", 2);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andPlanDescNotRightLike(String value) {
			addCriterion("PLAN_DESC  not like ", value, "PLAN_DESC", 2);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andPlanDescIn(List<String> values) {
			addCriterion("PLAN_DESC  in ", values, "PLAN_DESC");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andPlanDescNotIn(List<String> values) {
			addCriterion("PLAN_DESC not in ", values, "PLAN_DESC");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andPlanDescBetween(String value1, String value2) {
			addCriterion("PLAN_DESC between ", value1, value2, "PLAN_DESC");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andPlanDescNotBetween(String value1, String value2) {
			addCriterion("PLAN_DESC not between ", value1, value2, "PLAN_DESC");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andEffDateIsNull() {
			addCriterion("EFF_DATE is null");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andEffDateIsNotNull() {
			addCriterion("EFF_DATE is not null");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andEffDateEqualTo(String value) {
			addCriterion("EFF_DATE =", value, "EFF_DATE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andEffDateNotEqualTo(String value) {
			addCriterion("EFF_DATE <>", value, "EFF_DATE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andEffDateGreaterThan(String value) {
			addCriterion("EFF_DATE >", value, "EFF_DATE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andEffDateGreaterThanOrEqualTo(String value) {
			addCriterion("EFF_DATE >=", value, "EFF_DATE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andEffDateLessThan(String value) {
			addCriterion("EFF_DATE <", value, "EFF_DATE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andEffDateLessThanOrEqualTo(String value) {
			addCriterion("EFF_DATE <=", value, "EFF_DATE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andEffDateLike(String value) {
			addCriterion("EFF_DATE like ", value, "EFF_DATE", 1);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andEffDateNotLike(String value) {
			addCriterion("EFF_DATE  not like ", value, "EFF_DATE", 1);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andEffDateLeftLike(String value) {
			addCriterion("EFF_DATE like ", value, "EFF_DATE", 0);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andEffDateNotLeftLike(String value) {
			addCriterion("EFF_DATE  not like ", value, "EFF_DATE", 0);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andEffDateRightLike(String value) {
			addCriterion("EFF_DATE like ", value, "EFF_DATE", 2);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andEffDateNotRightLike(String value) {
			addCriterion("EFF_DATE  not like ", value, "EFF_DATE", 2);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andEffDateIn(List<String> values) {
			addCriterion("EFF_DATE  in ", values, "EFF_DATE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andEffDateNotIn(List<String> values) {
			addCriterion("EFF_DATE not in ", values, "EFF_DATE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andEffDateBetween(String value1, String value2) {
			addCriterion("EFF_DATE between ", value1, value2, "EFF_DATE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andEffDateNotBetween(String value1, String value2) {
			addCriterion("EFF_DATE not between ", value1, value2, "EFF_DATE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExpDateIsNull() {
			addCriterion("EXP_DATE is null");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExpDateIsNotNull() {
			addCriterion("EXP_DATE is not null");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExpDateEqualTo(String value) {
			addCriterion("EXP_DATE =", value, "EXP_DATE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExpDateNotEqualTo(String value) {
			addCriterion("EXP_DATE <>", value, "EXP_DATE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExpDateGreaterThan(String value) {
			addCriterion("EXP_DATE >", value, "EXP_DATE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExpDateGreaterThanOrEqualTo(String value) {
			addCriterion("EXP_DATE >=", value, "EXP_DATE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExpDateLessThan(String value) {
			addCriterion("EXP_DATE <", value, "EXP_DATE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExpDateLessThanOrEqualTo(String value) {
			addCriterion("EXP_DATE <=", value, "EXP_DATE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExpDateLike(String value) {
			addCriterion("EXP_DATE like ", value, "EXP_DATE", 1);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExpDateNotLike(String value) {
			addCriterion("EXP_DATE  not like ", value, "EXP_DATE", 1);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExpDateLeftLike(String value) {
			addCriterion("EXP_DATE like ", value, "EXP_DATE", 0);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExpDateNotLeftLike(String value) {
			addCriterion("EXP_DATE  not like ", value, "EXP_DATE", 0);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExpDateRightLike(String value) {
			addCriterion("EXP_DATE like ", value, "EXP_DATE", 2);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExpDateNotRightLike(String value) {
			addCriterion("EXP_DATE  not like ", value, "EXP_DATE", 2);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExpDateIn(List<String> values) {
			addCriterion("EXP_DATE  in ", values, "EXP_DATE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExpDateNotIn(List<String> values) {
			addCriterion("EXP_DATE not in ", values, "EXP_DATE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExpDateBetween(String value1, String value2) {
			addCriterion("EXP_DATE between ", value1, value2, "EXP_DATE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExpDateNotBetween(String value1, String value2) {
			addCriterion("EXP_DATE not between ", value1, value2, "EXP_DATE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCreateDateIsNull() {
			addCriterion("CREATE_DATE is null");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCreateDateIsNotNull() {
			addCriterion("CREATE_DATE is not null");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCreateDateEqualTo(String value) {
			addCriterion("CREATE_DATE =", value, "CREATE_DATE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCreateDateNotEqualTo(String value) {
			addCriterion("CREATE_DATE <>", value, "CREATE_DATE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCreateDateGreaterThan(String value) {
			addCriterion("CREATE_DATE >", value, "CREATE_DATE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCreateDateGreaterThanOrEqualTo(String value) {
			addCriterion("CREATE_DATE >=", value, "CREATE_DATE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCreateDateLessThan(String value) {
			addCriterion("CREATE_DATE <", value, "CREATE_DATE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCreateDateLessThanOrEqualTo(String value) {
			addCriterion("CREATE_DATE <=", value, "CREATE_DATE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCreateDateLike(String value) {
			addCriterion("CREATE_DATE like ", value, "CREATE_DATE", 1);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCreateDateNotLike(String value) {
			addCriterion("CREATE_DATE  not like ", value, "CREATE_DATE", 1);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCreateDateLeftLike(String value) {
			addCriterion("CREATE_DATE like ", value, "CREATE_DATE", 0);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCreateDateNotLeftLike(String value) {
			addCriterion("CREATE_DATE  not like ", value, "CREATE_DATE", 0);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCreateDateRightLike(String value) {
			addCriterion("CREATE_DATE like ", value, "CREATE_DATE", 2);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCreateDateNotRightLike(String value) {
			addCriterion("CREATE_DATE  not like ", value, "CREATE_DATE", 2);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCreateDateIn(List<String> values) {
			addCriterion("CREATE_DATE  in ", values, "CREATE_DATE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCreateDateNotIn(List<String> values) {
			addCriterion("CREATE_DATE not in ", values, "CREATE_DATE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCreateDateBetween(String value1, String value2) {
			addCriterion("CREATE_DATE between ", value1, value2, "CREATE_DATE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCreateDateNotBetween(String value1, String value2) {
			addCriterion("CREATE_DATE not between ", value1, value2, "CREATE_DATE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStateIsNull() {
			addCriterion("STATE is null");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStateIsNotNull() {
			addCriterion("STATE is not null");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStateEqualTo(String value) {
			addCriterion("STATE =", value, "STATE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStateNotEqualTo(String value) {
			addCriterion("STATE <>", value, "STATE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStateGreaterThan(String value) {
			addCriterion("STATE >", value, "STATE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStateGreaterThanOrEqualTo(String value) {
			addCriterion("STATE >=", value, "STATE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStateLessThan(String value) {
			addCriterion("STATE <", value, "STATE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStateLessThanOrEqualTo(String value) {
			addCriterion("STATE <=", value, "STATE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStateLike(String value) {
			addCriterion("STATE like ", value, "STATE", 1);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStateNotLike(String value) {
			addCriterion("STATE  not like ", value, "STATE", 1);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStateLeftLike(String value) {
			addCriterion("STATE like ", value, "STATE", 0);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStateNotLeftLike(String value) {
			addCriterion("STATE  not like ", value, "STATE", 0);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStateRightLike(String value) {
			addCriterion("STATE like ", value, "STATE", 2);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStateNotRightLike(String value) {
			addCriterion("STATE  not like ", value, "STATE", 2);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStateIn(List<String> values) {
			addCriterion("STATE  in ", values, "STATE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStateNotIn(List<String> values) {
			addCriterion("STATE not in ", values, "STATE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStateBetween(String value1, String value2) {
			addCriterion("STATE between ", value1, value2, "STATE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStateNotBetween(String value1, String value2) {
			addCriterion("STATE not between ", value1, value2, "STATE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStateDateIsNull() {
			addCriterion("STATE_DATE is null");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStateDateIsNotNull() {
			addCriterion("STATE_DATE is not null");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStateDateEqualTo(String value) {
			addCriterion("STATE_DATE =", value, "STATE_DATE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStateDateNotEqualTo(String value) {
			addCriterion("STATE_DATE <>", value, "STATE_DATE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStateDateGreaterThan(String value) {
			addCriterion("STATE_DATE >", value, "STATE_DATE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStateDateGreaterThanOrEqualTo(String value) {
			addCriterion("STATE_DATE >=", value, "STATE_DATE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStateDateLessThan(String value) {
			addCriterion("STATE_DATE <", value, "STATE_DATE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStateDateLessThanOrEqualTo(String value) {
			addCriterion("STATE_DATE <=", value, "STATE_DATE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStateDateLike(String value) {
			addCriterion("STATE_DATE like ", value, "STATE_DATE", 1);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStateDateNotLike(String value) {
			addCriterion("STATE_DATE  not like ", value, "STATE_DATE", 1);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStateDateLeftLike(String value) {
			addCriterion("STATE_DATE like ", value, "STATE_DATE", 0);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStateDateNotLeftLike(String value) {
			addCriterion("STATE_DATE  not like ", value, "STATE_DATE", 0);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStateDateRightLike(String value) {
			addCriterion("STATE_DATE like ", value, "STATE_DATE", 2);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStateDateNotRightLike(String value) {
			addCriterion("STATE_DATE  not like ", value, "STATE_DATE", 2);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStateDateIn(List<String> values) {
			addCriterion("STATE_DATE  in ", values, "STATE_DATE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStateDateNotIn(List<String> values) {
			addCriterion("STATE_DATE not in ", values, "STATE_DATE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStateDateBetween(String value1, String value2) {
			addCriterion("STATE_DATE between ", value1, value2, "STATE_DATE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStateDateNotBetween(String value1, String value2) {
			addCriterion("STATE_DATE not between ", value1, value2, "STATE_DATE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSourceTypeIsNull() {
			addCriterion("SOURCE_TYPE is null");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSourceTypeIsNotNull() {
			addCriterion("SOURCE_TYPE is not null");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSourceTypeEqualTo(Integer value) {
			addCriterion("SOURCE_TYPE =", value, "SOURCE_TYPE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSourceTypeNotEqualTo(Integer value) {
			addCriterion("SOURCE_TYPE <>", value, "SOURCE_TYPE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSourceTypeGreaterThan(Integer value) {
			addCriterion("SOURCE_TYPE >", value, "SOURCE_TYPE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSourceTypeGreaterThanOrEqualTo(Integer value) {
			addCriterion("SOURCE_TYPE >=", value, "SOURCE_TYPE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSourceTypeLessThan(Integer value) {
			addCriterion("SOURCE_TYPE <", value, "SOURCE_TYPE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSourceTypeLessThanOrEqualTo(Integer value) {
			addCriterion("SOURCE_TYPE <=", value, "SOURCE_TYPE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSourceTypeLike(Integer value) {
			addCriterion("SOURCE_TYPE like ", value, "SOURCE_TYPE", 1);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSourceTypeNotLike(Integer value) {
			addCriterion("SOURCE_TYPE  not like ", value, "SOURCE_TYPE", 1);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSourceTypeLeftLike(Integer value) {
			addCriterion("SOURCE_TYPE like ", value, "SOURCE_TYPE", 0);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSourceTypeNotLeftLike(Integer value) {
			addCriterion("SOURCE_TYPE  not like ", value, "SOURCE_TYPE", 0);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSourceTypeRightLike(Integer value) {
			addCriterion("SOURCE_TYPE like ", value, "SOURCE_TYPE", 2);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSourceTypeNotRightLike(Integer value) {
			addCriterion("SOURCE_TYPE  not like ", value, "SOURCE_TYPE", 2);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSourceTypeIn(List<Integer> values) {
			addCriterion("SOURCE_TYPE  in ", values, "SOURCE_TYPE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSourceTypeNotIn(List<Integer> values) {
			addCriterion("SOURCE_TYPE not in ", values, "SOURCE_TYPE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSourceTypeBetween(Integer value1, Integer value2) {
			addCriterion("SOURCE_TYPE between ", value1, value2, "SOURCE_TYPE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSourceTypeNotBetween(Integer value1, Integer value2) {
			addCriterion("SOURCE_TYPE not between ", value1, value2, "SOURCE_TYPE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andTargetTypeIsNull() {
			addCriterion("TARGET_TYPE is null");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andTargetTypeIsNotNull() {
			addCriterion("TARGET_TYPE is not null");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andTargetTypeEqualTo(Integer value) {
			addCriterion("TARGET_TYPE =", value, "TARGET_TYPE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andTargetTypeNotEqualTo(Integer value) {
			addCriterion("TARGET_TYPE <>", value, "TARGET_TYPE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andTargetTypeGreaterThan(Integer value) {
			addCriterion("TARGET_TYPE >", value, "TARGET_TYPE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andTargetTypeGreaterThanOrEqualTo(Integer value) {
			addCriterion("TARGET_TYPE >=", value, "TARGET_TYPE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andTargetTypeLessThan(Integer value) {
			addCriterion("TARGET_TYPE <", value, "TARGET_TYPE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andTargetTypeLessThanOrEqualTo(Integer value) {
			addCriterion("TARGET_TYPE <=", value, "TARGET_TYPE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andTargetTypeLike(Integer value) {
			addCriterion("TARGET_TYPE like ", value, "TARGET_TYPE", 1);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andTargetTypeNotLike(Integer value) {
			addCriterion("TARGET_TYPE  not like ", value, "TARGET_TYPE", 1);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andTargetTypeLeftLike(Integer value) {
			addCriterion("TARGET_TYPE like ", value, "TARGET_TYPE", 0);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andTargetTypeNotLeftLike(Integer value) {
			addCriterion("TARGET_TYPE  not like ", value, "TARGET_TYPE", 0);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andTargetTypeRightLike(Integer value) {
			addCriterion("TARGET_TYPE like ", value, "TARGET_TYPE", 2);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andTargetTypeNotRightLike(Integer value) {
			addCriterion("TARGET_TYPE  not like ", value, "TARGET_TYPE", 2);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andTargetTypeIn(List<Integer> values) {
			addCriterion("TARGET_TYPE  in ", values, "TARGET_TYPE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andTargetTypeNotIn(List<Integer> values) {
			addCriterion("TARGET_TYPE not in ", values, "TARGET_TYPE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andTargetTypeBetween(Integer value1, Integer value2) {
			addCriterion("TARGET_TYPE between ", value1, value2, "TARGET_TYPE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andTargetTypeNotBetween(Integer value1, Integer value2) {
			addCriterion("TARGET_TYPE not between ", value1, value2, "TARGET_TYPE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExecTypeIsNull() {
			addCriterion("EXEC_TYPE is null");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExecTypeIsNotNull() {
			addCriterion("EXEC_TYPE is not null");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExecTypeEqualTo(String value) {
			addCriterion("EXEC_TYPE =", value, "EXEC_TYPE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExecTypeNotEqualTo(String value) {
			addCriterion("EXEC_TYPE <>", value, "EXEC_TYPE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExecTypeGreaterThan(String value) {
			addCriterion("EXEC_TYPE >", value, "EXEC_TYPE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExecTypeGreaterThanOrEqualTo(String value) {
			addCriterion("EXEC_TYPE >=", value, "EXEC_TYPE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExecTypeLessThan(String value) {
			addCriterion("EXEC_TYPE <", value, "EXEC_TYPE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExecTypeLessThanOrEqualTo(String value) {
			addCriterion("EXEC_TYPE <=", value, "EXEC_TYPE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExecTypeLike(String value) {
			addCriterion("EXEC_TYPE like ", value, "EXEC_TYPE", 1);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExecTypeNotLike(String value) {
			addCriterion("EXEC_TYPE  not like ", value, "EXEC_TYPE", 1);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExecTypeLeftLike(String value) {
			addCriterion("EXEC_TYPE like ", value, "EXEC_TYPE", 0);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExecTypeNotLeftLike(String value) {
			addCriterion("EXEC_TYPE  not like ", value, "EXEC_TYPE", 0);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExecTypeRightLike(String value) {
			addCriterion("EXEC_TYPE like ", value, "EXEC_TYPE", 2);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExecTypeNotRightLike(String value) {
			addCriterion("EXEC_TYPE  not like ", value, "EXEC_TYPE", 2);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExecTypeIn(List<String> values) {
			addCriterion("EXEC_TYPE  in ", values, "EXEC_TYPE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExecTypeNotIn(List<String> values) {
			addCriterion("EXEC_TYPE not in ", values, "EXEC_TYPE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExecTypeBetween(String value1, String value2) {
			addCriterion("EXEC_TYPE between ", value1, value2, "EXEC_TYPE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExecTypeNotBetween(String value1, String value2) {
			addCriterion("EXEC_TYPE not between ", value1, value2, "EXEC_TYPE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExecFrequencyIsNull() {
			addCriterion("EXEC_FREQUENCY is null");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExecFrequencyIsNotNull() {
			addCriterion("EXEC_FREQUENCY is not null");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExecFrequencyEqualTo(String value) {
			addCriterion("EXEC_FREQUENCY =", value, "EXEC_FREQUENCY");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExecFrequencyNotEqualTo(String value) {
			addCriterion("EXEC_FREQUENCY <>", value, "EXEC_FREQUENCY");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExecFrequencyGreaterThan(String value) {
			addCriterion("EXEC_FREQUENCY >", value, "EXEC_FREQUENCY");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExecFrequencyGreaterThanOrEqualTo(String value) {
			addCriterion("EXEC_FREQUENCY >=", value, "EXEC_FREQUENCY");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExecFrequencyLessThan(String value) {
			addCriterion("EXEC_FREQUENCY <", value, "EXEC_FREQUENCY");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExecFrequencyLessThanOrEqualTo(String value) {
			addCriterion("EXEC_FREQUENCY <=", value, "EXEC_FREQUENCY");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExecFrequencyLike(String value) {
			addCriterion("EXEC_FREQUENCY like ", value, "EXEC_FREQUENCY", 1);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExecFrequencyNotLike(String value) {
			addCriterion("EXEC_FREQUENCY  not like ", value, "EXEC_FREQUENCY", 1);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExecFrequencyLeftLike(String value) {
			addCriterion("EXEC_FREQUENCY like ", value, "EXEC_FREQUENCY", 0);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExecFrequencyNotLeftLike(String value) {
			addCriterion("EXEC_FREQUENCY  not like ", value, "EXEC_FREQUENCY", 0);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExecFrequencyRightLike(String value) {
			addCriterion("EXEC_FREQUENCY like ", value, "EXEC_FREQUENCY", 2);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExecFrequencyNotRightLike(String value) {
			addCriterion("EXEC_FREQUENCY  not like ", value, "EXEC_FREQUENCY", 2);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExecFrequencyIn(List<String> values) {
			addCriterion("EXEC_FREQUENCY  in ", values, "EXEC_FREQUENCY");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExecFrequencyNotIn(List<String> values) {
			addCriterion("EXEC_FREQUENCY not in ", values, "EXEC_FREQUENCY");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExecFrequencyBetween(String value1, String value2) {
			addCriterion("EXEC_FREQUENCY between ", value1, value2, "EXEC_FREQUENCY");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andExecFrequencyNotBetween(String value1, String value2) {
			addCriterion("EXEC_FREQUENCY not between ", value1, value2, "EXEC_FREQUENCY");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andOperTypeIsNull() {
			addCriterion("OPER_TYPE is null");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andOperTypeIsNotNull() {
			addCriterion("OPER_TYPE is not null");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andOperTypeEqualTo(Integer value) {
			addCriterion("OPER_TYPE =", value, "OPER_TYPE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andOperTypeNotEqualTo(Integer value) {
			addCriterion("OPER_TYPE <>", value, "OPER_TYPE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andOperTypeGreaterThan(Integer value) {
			addCriterion("OPER_TYPE >", value, "OPER_TYPE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andOperTypeGreaterThanOrEqualTo(Integer value) {
			addCriterion("OPER_TYPE >=", value, "OPER_TYPE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andOperTypeLessThan(Integer value) {
			addCriterion("OPER_TYPE <", value, "OPER_TYPE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andOperTypeLessThanOrEqualTo(Integer value) {
			addCriterion("OPER_TYPE <=", value, "OPER_TYPE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andOperTypeLike(Integer value) {
			addCriterion("OPER_TYPE like ", value, "OPER_TYPE", 1);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andOperTypeNotLike(Integer value) {
			addCriterion("OPER_TYPE  not like ", value, "OPER_TYPE", 1);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andOperTypeLeftLike(Integer value) {
			addCriterion("OPER_TYPE like ", value, "OPER_TYPE", 0);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andOperTypeNotLeftLike(Integer value) {
			addCriterion("OPER_TYPE  not like ", value, "OPER_TYPE", 0);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andOperTypeRightLike(Integer value) {
			addCriterion("OPER_TYPE like ", value, "OPER_TYPE", 2);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andOperTypeNotRightLike(Integer value) {
			addCriterion("OPER_TYPE  not like ", value, "OPER_TYPE", 2);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andOperTypeIn(List<Integer> values) {
			addCriterion("OPER_TYPE  in ", values, "OPER_TYPE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andOperTypeNotIn(List<Integer> values) {
			addCriterion("OPER_TYPE not in ", values, "OPER_TYPE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andOperTypeBetween(Integer value1, Integer value2) {
			addCriterion("OPER_TYPE between ", value1, value2, "OPER_TYPE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andOperTypeNotBetween(Integer value1, Integer value2) {
			addCriterion("OPER_TYPE not between ", value1, value2, "OPER_TYPE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCycleTypeIsNull() {
			addCriterion("CYCLE_TYPE is null");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCycleTypeIsNotNull() {
			addCriterion("CYCLE_TYPE is not null");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCycleTypeEqualTo(String value) {
			addCriterion("CYCLE_TYPE =", value, "CYCLE_TYPE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCycleTypeNotEqualTo(String value) {
			addCriterion("CYCLE_TYPE <>", value, "CYCLE_TYPE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCycleTypeGreaterThan(String value) {
			addCriterion("CYCLE_TYPE >", value, "CYCLE_TYPE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCycleTypeGreaterThanOrEqualTo(String value) {
			addCriterion("CYCLE_TYPE >=", value, "CYCLE_TYPE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCycleTypeLessThan(String value) {
			addCriterion("CYCLE_TYPE <", value, "CYCLE_TYPE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCycleTypeLessThanOrEqualTo(String value) {
			addCriterion("CYCLE_TYPE <=", value, "CYCLE_TYPE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCycleTypeLike(String value) {
			addCriterion("CYCLE_TYPE like ", value, "CYCLE_TYPE", 1);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCycleTypeNotLike(String value) {
			addCriterion("CYCLE_TYPE  not like ", value, "CYCLE_TYPE", 1);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCycleTypeLeftLike(String value) {
			addCriterion("CYCLE_TYPE like ", value, "CYCLE_TYPE", 0);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCycleTypeNotLeftLike(String value) {
			addCriterion("CYCLE_TYPE  not like ", value, "CYCLE_TYPE", 0);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCycleTypeRightLike(String value) {
			addCriterion("CYCLE_TYPE like ", value, "CYCLE_TYPE", 2);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCycleTypeNotRightLike(String value) {
			addCriterion("CYCLE_TYPE  not like ", value, "CYCLE_TYPE", 2);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCycleTypeIn(List<String> values) {
			addCriterion("CYCLE_TYPE  in ", values, "CYCLE_TYPE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCycleTypeNotIn(List<String> values) {
			addCriterion("CYCLE_TYPE not in ", values, "CYCLE_TYPE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCycleTypeBetween(String value1, String value2) {
			addCriterion("CYCLE_TYPE between ", value1, value2, "CYCLE_TYPE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCycleTypeNotBetween(String value1, String value2) {
			addCriterion("CYCLE_TYPE not between ", value1, value2, "CYCLE_TYPE");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCycleDayIsNull() {
			addCriterion("CYCLE_DAY is null");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCycleDayIsNotNull() {
			addCriterion("CYCLE_DAY is not null");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCycleDayEqualTo(Integer value) {
			addCriterion("CYCLE_DAY =", value, "CYCLE_DAY");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCycleDayNotEqualTo(Integer value) {
			addCriterion("CYCLE_DAY <>", value, "CYCLE_DAY");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCycleDayGreaterThan(Integer value) {
			addCriterion("CYCLE_DAY >", value, "CYCLE_DAY");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCycleDayGreaterThanOrEqualTo(Integer value) {
			addCriterion("CYCLE_DAY >=", value, "CYCLE_DAY");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCycleDayLessThan(Integer value) {
			addCriterion("CYCLE_DAY <", value, "CYCLE_DAY");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCycleDayLessThanOrEqualTo(Integer value) {
			addCriterion("CYCLE_DAY <=", value, "CYCLE_DAY");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCycleDayLike(Integer value) {
			addCriterion("CYCLE_DAY like ", value, "CYCLE_DAY", 1);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCycleDayNotLike(Integer value) {
			addCriterion("CYCLE_DAY  not like ", value, "CYCLE_DAY", 1);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCycleDayLeftLike(Integer value) {
			addCriterion("CYCLE_DAY like ", value, "CYCLE_DAY", 0);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCycleDayNotLeftLike(Integer value) {
			addCriterion("CYCLE_DAY  not like ", value, "CYCLE_DAY", 0);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCycleDayRightLike(Integer value) {
			addCriterion("CYCLE_DAY like ", value, "CYCLE_DAY", 2);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCycleDayNotRightLike(Integer value) {
			addCriterion("CYCLE_DAY  not like ", value, "CYCLE_DAY", 2);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCycleDayIn(List<Integer> values) {
			addCriterion("CYCLE_DAY  in ", values, "CYCLE_DAY");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCycleDayNotIn(List<Integer> values) {
			addCriterion("CYCLE_DAY not in ", values, "CYCLE_DAY");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCycleDayBetween(Integer value1, Integer value2) {
			addCriterion("CYCLE_DAY between ", value1, value2, "CYCLE_DAY");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andCycleDayNotBetween(Integer value1, Integer value2) {
			addCriterion("CYCLE_DAY not between ", value1, value2, "CYCLE_DAY");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNeedCheckIsNull() {
			addCriterion("NEED_CHECK is null");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNeedCheckIsNotNull() {
			addCriterion("NEED_CHECK is not null");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNeedCheckEqualTo(String value) {
			addCriterion("NEED_CHECK =", value, "NEED_CHECK");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNeedCheckNotEqualTo(String value) {
			addCriterion("NEED_CHECK <>", value, "NEED_CHECK");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNeedCheckGreaterThan(String value) {
			addCriterion("NEED_CHECK >", value, "NEED_CHECK");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNeedCheckGreaterThanOrEqualTo(String value) {
			addCriterion("NEED_CHECK >=", value, "NEED_CHECK");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNeedCheckLessThan(String value) {
			addCriterion("NEED_CHECK <", value, "NEED_CHECK");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNeedCheckLessThanOrEqualTo(String value) {
			addCriterion("NEED_CHECK <=", value, "NEED_CHECK");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNeedCheckLike(String value) {
			addCriterion("NEED_CHECK like ", value, "NEED_CHECK", 1);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNeedCheckNotLike(String value) {
			addCriterion("NEED_CHECK  not like ", value, "NEED_CHECK", 1);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNeedCheckLeftLike(String value) {
			addCriterion("NEED_CHECK like ", value, "NEED_CHECK", 0);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNeedCheckNotLeftLike(String value) {
			addCriterion("NEED_CHECK  not like ", value, "NEED_CHECK", 0);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNeedCheckRightLike(String value) {
			addCriterion("NEED_CHECK like ", value, "NEED_CHECK", 2);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNeedCheckNotRightLike(String value) {
			addCriterion("NEED_CHECK  not like ", value, "NEED_CHECK", 2);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNeedCheckIn(List<String> values) {
			addCriterion("NEED_CHECK  in ", values, "NEED_CHECK");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNeedCheckNotIn(List<String> values) {
			addCriterion("NEED_CHECK not in ", values, "NEED_CHECK");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNeedCheckBetween(String value1, String value2) {
			addCriterion("NEED_CHECK between ", value1, value2, "NEED_CHECK");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNeedCheckNotBetween(String value1, String value2) {
			addCriterion("NEED_CHECK not between ", value1, value2, "NEED_CHECK");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStartTimeIsNull() {
			addCriterion("START_TIME is null");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStartTimeIsNotNull() {
			addCriterion("START_TIME is not null");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStartTimeEqualTo(String value) {
			addCriterion("START_TIME =", value, "START_TIME");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStartTimeNotEqualTo(String value) {
			addCriterion("START_TIME <>", value, "START_TIME");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStartTimeGreaterThan(String value) {
			addCriterion("START_TIME >", value, "START_TIME");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStartTimeGreaterThanOrEqualTo(String value) {
			addCriterion("START_TIME >=", value, "START_TIME");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStartTimeLessThan(String value) {
			addCriterion("START_TIME <", value, "START_TIME");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStartTimeLessThanOrEqualTo(String value) {
			addCriterion("START_TIME <=", value, "START_TIME");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStartTimeLike(String value) {
			addCriterion("START_TIME like ", value, "START_TIME", 1);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStartTimeNotLike(String value) {
			addCriterion("START_TIME  not like ", value, "START_TIME", 1);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStartTimeLeftLike(String value) {
			addCriterion("START_TIME like ", value, "START_TIME", 0);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStartTimeNotLeftLike(String value) {
			addCriterion("START_TIME  not like ", value, "START_TIME", 0);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStartTimeRightLike(String value) {
			addCriterion("START_TIME like ", value, "START_TIME", 2);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStartTimeNotRightLike(String value) {
			addCriterion("START_TIME  not like ", value, "START_TIME", 2);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStartTimeIn(List<String> values) {
			addCriterion("START_TIME  in ", values, "START_TIME");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStartTimeNotIn(List<String> values) {
			addCriterion("START_TIME not in ", values, "START_TIME");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStartTimeBetween(String value1, String value2) {
			addCriterion("START_TIME between ", value1, value2, "START_TIME");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStartTimeNotBetween(String value1, String value2) {
			addCriterion("START_TIME not between ", value1, value2, "START_TIME");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNextScheduleTimeIsNull() {
			addCriterion("NEXT_SCHEDULE_TIME is null");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNextScheduleTimeIsNotNull() {
			addCriterion("NEXT_SCHEDULE_TIME is not null");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNextScheduleTimeEqualTo(String value) {
			addCriterion("NEXT_SCHEDULE_TIME =", value, "NEXT_SCHEDULE_TIME");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNextScheduleTimeNotEqualTo(String value) {
			addCriterion("NEXT_SCHEDULE_TIME <>", value, "NEXT_SCHEDULE_TIME");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNextScheduleTimeGreaterThan(String value) {
			addCriterion("NEXT_SCHEDULE_TIME >", value, "NEXT_SCHEDULE_TIME");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNextScheduleTimeGreaterThanOrEqualTo(String value) {
			addCriterion("NEXT_SCHEDULE_TIME >=", value, "NEXT_SCHEDULE_TIME");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNextScheduleTimeLessThan(String value) {
			addCriterion("NEXT_SCHEDULE_TIME <", value, "NEXT_SCHEDULE_TIME");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNextScheduleTimeLessThanOrEqualTo(String value) {
			addCriterion("NEXT_SCHEDULE_TIME <=", value, "NEXT_SCHEDULE_TIME");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNextScheduleTimeLike(String value) {
			addCriterion("NEXT_SCHEDULE_TIME like ", value, "NEXT_SCHEDULE_TIME", 1);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNextScheduleTimeNotLike(String value) {
			addCriterion("NEXT_SCHEDULE_TIME  not like ", value, "NEXT_SCHEDULE_TIME", 1);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNextScheduleTimeLeftLike(String value) {
			addCriterion("NEXT_SCHEDULE_TIME like ", value, "NEXT_SCHEDULE_TIME", 0);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNextScheduleTimeNotLeftLike(String value) {
			addCriterion("NEXT_SCHEDULE_TIME  not like ", value, "NEXT_SCHEDULE_TIME", 0);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNextScheduleTimeRightLike(String value) {
			addCriterion("NEXT_SCHEDULE_TIME like ", value, "NEXT_SCHEDULE_TIME", 2);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNextScheduleTimeNotRightLike(String value) {
			addCriterion("NEXT_SCHEDULE_TIME  not like ", value, "NEXT_SCHEDULE_TIME", 2);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNextScheduleTimeIn(List<String> values) {
			addCriterion("NEXT_SCHEDULE_TIME  in ", values, "NEXT_SCHEDULE_TIME");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNextScheduleTimeNotIn(List<String> values) {
			addCriterion("NEXT_SCHEDULE_TIME not in ", values, "NEXT_SCHEDULE_TIME");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNextScheduleTimeBetween(String value1, String value2) {
			addCriterion("NEXT_SCHEDULE_TIME between ", value1, value2, "NEXT_SCHEDULE_TIME");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNextScheduleTimeNotBetween(String value1, String value2) {
			addCriterion("NEXT_SCHEDULE_TIME not between ", value1, value2, "NEXT_SCHEDULE_TIME");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSpecialDayIsNull() {
			addCriterion("SPECIAL_DAY is null");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSpecialDayIsNotNull() {
			addCriterion("SPECIAL_DAY is not null");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSpecialDayEqualTo(String value) {
			addCriterion("SPECIAL_DAY =", value, "SPECIAL_DAY");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSpecialDayNotEqualTo(String value) {
			addCriterion("SPECIAL_DAY <>", value, "SPECIAL_DAY");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSpecialDayGreaterThan(String value) {
			addCriterion("SPECIAL_DAY >", value, "SPECIAL_DAY");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSpecialDayGreaterThanOrEqualTo(String value) {
			addCriterion("SPECIAL_DAY >=", value, "SPECIAL_DAY");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSpecialDayLessThan(String value) {
			addCriterion("SPECIAL_DAY <", value, "SPECIAL_DAY");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSpecialDayLessThanOrEqualTo(String value) {
			addCriterion("SPECIAL_DAY <=", value, "SPECIAL_DAY");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSpecialDayLike(String value) {
			addCriterion("SPECIAL_DAY like ", value, "SPECIAL_DAY", 1);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSpecialDayNotLike(String value) {
			addCriterion("SPECIAL_DAY  not like ", value, "SPECIAL_DAY", 1);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSpecialDayLeftLike(String value) {
			addCriterion("SPECIAL_DAY like ", value, "SPECIAL_DAY", 0);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSpecialDayNotLeftLike(String value) {
			addCriterion("SPECIAL_DAY  not like ", value, "SPECIAL_DAY", 0);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSpecialDayRightLike(String value) {
			addCriterion("SPECIAL_DAY like ", value, "SPECIAL_DAY", 2);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSpecialDayNotRightLike(String value) {
			addCriterion("SPECIAL_DAY  not like ", value, "SPECIAL_DAY", 2);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSpecialDayIn(List<String> values) {
			addCriterion("SPECIAL_DAY  in ", values, "SPECIAL_DAY");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSpecialDayNotIn(List<String> values) {
			addCriterion("SPECIAL_DAY not in ", values, "SPECIAL_DAY");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSpecialDayBetween(String value1, String value2) {
			addCriterion("SPECIAL_DAY between ", value1, value2, "SPECIAL_DAY");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andSpecialDayNotBetween(String value1, String value2) {
			addCriterion("SPECIAL_DAY not between ", value1, value2, "SPECIAL_DAY");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStaffIdIsNull() {
			addCriterion("STAFF_ID is null");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStaffIdIsNotNull() {
			addCriterion("STAFF_ID is not null");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStaffIdEqualTo(Integer value) {
			addCriterion("STAFF_ID =", value, "STAFF_ID");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStaffIdNotEqualTo(Integer value) {
			addCriterion("STAFF_ID <>", value, "STAFF_ID");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStaffIdGreaterThan(Integer value) {
			addCriterion("STAFF_ID >", value, "STAFF_ID");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStaffIdGreaterThanOrEqualTo(Integer value) {
			addCriterion("STAFF_ID >=", value, "STAFF_ID");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStaffIdLessThan(Integer value) {
			addCriterion("STAFF_ID <", value, "STAFF_ID");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStaffIdLessThanOrEqualTo(Integer value) {
			addCriterion("STAFF_ID <=", value, "STAFF_ID");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStaffIdLike(Integer value) {
			addCriterion("STAFF_ID like ", value, "STAFF_ID", 1);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStaffIdNotLike(Integer value) {
			addCriterion("STAFF_ID  not like ", value, "STAFF_ID", 1);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStaffIdLeftLike(Integer value) {
			addCriterion("STAFF_ID like ", value, "STAFF_ID", 0);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStaffIdNotLeftLike(Integer value) {
			addCriterion("STAFF_ID  not like ", value, "STAFF_ID", 0);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStaffIdRightLike(Integer value) {
			addCriterion("STAFF_ID like ", value, "STAFF_ID", 2);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStaffIdNotRightLike(Integer value) {
			addCriterion("STAFF_ID  not like ", value, "STAFF_ID", 2);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStaffIdIn(List<Integer> values) {
			addCriterion("STAFF_ID  in ", values, "STAFF_ID");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStaffIdNotIn(List<Integer> values) {
			addCriterion("STAFF_ID not in ", values, "STAFF_ID");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStaffIdBetween(Integer value1, Integer value2) {
			addCriterion("STAFF_ID between ", value1, value2, "STAFF_ID");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andStaffIdNotBetween(Integer value1, Integer value2) {
			addCriterion("STAFF_ID not between ", value1, value2, "STAFF_ID");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNodeIdIsNull() {
			addCriterion("NODE_ID is null");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNodeIdIsNotNull() {
			addCriterion("NODE_ID is not null");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNodeIdEqualTo(Integer value) {
			addCriterion("NODE_ID =", value, "NODE_ID");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNodeIdNotEqualTo(Integer value) {
			addCriterion("NODE_ID <>", value, "NODE_ID");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNodeIdGreaterThan(Integer value) {
			addCriterion("NODE_ID >", value, "NODE_ID");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNodeIdGreaterThanOrEqualTo(Integer value) {
			addCriterion("NODE_ID >=", value, "NODE_ID");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNodeIdLessThan(Integer value) {
			addCriterion("NODE_ID <", value, "NODE_ID");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNodeIdLessThanOrEqualTo(Integer value) {
			addCriterion("NODE_ID <=", value, "NODE_ID");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNodeIdLike(Integer value) {
			addCriterion("NODE_ID like ", value, "NODE_ID", 1);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNodeIdNotLike(Integer value) {
			addCriterion("NODE_ID  not like ", value, "NODE_ID", 1);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNodeIdLeftLike(Integer value) {
			addCriterion("NODE_ID like ", value, "NODE_ID", 0);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNodeIdNotLeftLike(Integer value) {
			addCriterion("NODE_ID  not like ", value, "NODE_ID", 0);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNodeIdRightLike(Integer value) {
			addCriterion("NODE_ID like ", value, "NODE_ID", 2);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNodeIdNotRightLike(Integer value) {
			addCriterion("NODE_ID  not like ", value, "NODE_ID", 2);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNodeIdIn(List<Integer> values) {
			addCriterion("NODE_ID  in ", values, "NODE_ID");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNodeIdNotIn(List<Integer> values) {
			addCriterion("NODE_ID not in ", values, "NODE_ID");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNodeIdBetween(Integer value1, Integer value2) {
			addCriterion("NODE_ID between ", value1, value2, "NODE_ID");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andNodeIdNotBetween(Integer value1, Integer value2) {
			addCriterion("NODE_ID not between ", value1, value2, "NODE_ID");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andTableAnalyseFlagIsNull() {
			addCriterion("TABLE_ANALYSE_FLAG is null");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andTableAnalyseFlagIsNotNull() {
			addCriterion("TABLE_ANALYSE_FLAG is not null");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andTableAnalyseFlagEqualTo(Integer value) {
			addCriterion("TABLE_ANALYSE_FLAG =", value, "TABLE_ANALYSE_FLAG");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andTableAnalyseFlagNotEqualTo(Integer value) {
			addCriterion("TABLE_ANALYSE_FLAG <>", value, "TABLE_ANALYSE_FLAG");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andTableAnalyseFlagGreaterThan(Integer value) {
			addCriterion("TABLE_ANALYSE_FLAG >", value, "TABLE_ANALYSE_FLAG");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andTableAnalyseFlagGreaterThanOrEqualTo(Integer value) {
			addCriterion("TABLE_ANALYSE_FLAG >=", value, "TABLE_ANALYSE_FLAG");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andTableAnalyseFlagLessThan(Integer value) {
			addCriterion("TABLE_ANALYSE_FLAG <", value, "TABLE_ANALYSE_FLAG");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andTableAnalyseFlagLessThanOrEqualTo(Integer value) {
			addCriterion("TABLE_ANALYSE_FLAG <=", value, "TABLE_ANALYSE_FLAG");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andTableAnalyseFlagLike(Integer value) {
			addCriterion("TABLE_ANALYSE_FLAG like ", value, "TABLE_ANALYSE_FLAG", 1);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andTableAnalyseFlagNotLike(Integer value) {
			addCriterion("TABLE_ANALYSE_FLAG  not like ", value, "TABLE_ANALYSE_FLAG", 1);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andTableAnalyseFlagLeftLike(Integer value) {
			addCriterion("TABLE_ANALYSE_FLAG like ", value, "TABLE_ANALYSE_FLAG", 0);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andTableAnalyseFlagNotLeftLike(Integer value) {
			addCriterion("TABLE_ANALYSE_FLAG  not like ", value, "TABLE_ANALYSE_FLAG", 0);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andTableAnalyseFlagRightLike(Integer value) {
			addCriterion("TABLE_ANALYSE_FLAG like ", value, "TABLE_ANALYSE_FLAG", 2);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andTableAnalyseFlagNotRightLike(Integer value) {
			addCriterion("TABLE_ANALYSE_FLAG  not like ", value, "TABLE_ANALYSE_FLAG", 2);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andTableAnalyseFlagIn(List<Integer> values) {
			addCriterion("TABLE_ANALYSE_FLAG  in ", values, "TABLE_ANALYSE_FLAG");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andTableAnalyseFlagNotIn(List<Integer> values) {
			addCriterion("TABLE_ANALYSE_FLAG not in ", values, "TABLE_ANALYSE_FLAG");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andTableAnalyseFlagBetween(Integer value1, Integer value2) {
			addCriterion("TABLE_ANALYSE_FLAG between ", value1, value2, "TABLE_ANALYSE_FLAG");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andTableAnalyseFlagNotBetween(Integer value1, Integer value2) {
			addCriterion("TABLE_ANALYSE_FLAG not between ", value1, value2, "TABLE_ANALYSE_FLAG");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andIndexAnalyseFlagIsNull() {
			addCriterion("INDEX_ANALYSE_FLAG is null");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andIndexAnalyseFlagIsNotNull() {
			addCriterion("INDEX_ANALYSE_FLAG is not null");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andIndexAnalyseFlagEqualTo(Integer value) {
			addCriterion("INDEX_ANALYSE_FLAG =", value, "INDEX_ANALYSE_FLAG");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andIndexAnalyseFlagNotEqualTo(Integer value) {
			addCriterion("INDEX_ANALYSE_FLAG <>", value, "INDEX_ANALYSE_FLAG");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andIndexAnalyseFlagGreaterThan(Integer value) {
			addCriterion("INDEX_ANALYSE_FLAG >", value, "INDEX_ANALYSE_FLAG");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andIndexAnalyseFlagGreaterThanOrEqualTo(Integer value) {
			addCriterion("INDEX_ANALYSE_FLAG >=", value, "INDEX_ANALYSE_FLAG");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andIndexAnalyseFlagLessThan(Integer value) {
			addCriterion("INDEX_ANALYSE_FLAG <", value, "INDEX_ANALYSE_FLAG");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andIndexAnalyseFlagLessThanOrEqualTo(Integer value) {
			addCriterion("INDEX_ANALYSE_FLAG <=", value, "INDEX_ANALYSE_FLAG");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andIndexAnalyseFlagLike(Integer value) {
			addCriterion("INDEX_ANALYSE_FLAG like ", value, "INDEX_ANALYSE_FLAG", 1);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andIndexAnalyseFlagNotLike(Integer value) {
			addCriterion("INDEX_ANALYSE_FLAG  not like ", value, "INDEX_ANALYSE_FLAG", 1);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andIndexAnalyseFlagLeftLike(Integer value) {
			addCriterion("INDEX_ANALYSE_FLAG like ", value, "INDEX_ANALYSE_FLAG", 0);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andIndexAnalyseFlagNotLeftLike(Integer value) {
			addCriterion("INDEX_ANALYSE_FLAG  not like ", value, "INDEX_ANALYSE_FLAG", 0);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andIndexAnalyseFlagRightLike(Integer value) {
			addCriterion("INDEX_ANALYSE_FLAG like ", value, "INDEX_ANALYSE_FLAG", 2);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andIndexAnalyseFlagNotRightLike(Integer value) {
			addCriterion("INDEX_ANALYSE_FLAG  not like ", value, "INDEX_ANALYSE_FLAG", 2);
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andIndexAnalyseFlagIn(List<Integer> values) {
			addCriterion("INDEX_ANALYSE_FLAG  in ", values, "INDEX_ANALYSE_FLAG");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andIndexAnalyseFlagNotIn(List<Integer> values) {
			addCriterion("INDEX_ANALYSE_FLAG not in ", values, "INDEX_ANALYSE_FLAG");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andIndexAnalyseFlagBetween(Integer value1, Integer value2) {
			addCriterion("INDEX_ANALYSE_FLAG between ", value1, value2, "INDEX_ANALYSE_FLAG");
			return (DmPlanCriteria) this;
		}

		public DmPlanCriteria andIndexAnalyseFlagNotBetween(Integer value1, Integer value2) {
			addCriterion("INDEX_ANALYSE_FLAG not between ", value1, value2, "INDEX_ANALYSE_FLAG");
			return (DmPlanCriteria) this;
		}

        public DmPlanCriteria andDbLinkIdIsNull() {
            addCriterion("db_link_id is null");
            return (DmPlanCriteria) this;
        }

        public DmPlanCriteria andDbLinkIdIsNotNull() {
            addCriterion("db_link_id is not null");
            return (DmPlanCriteria) this;
        }

        public DmPlanCriteria andDbLinkIdEqualTo(Integer value) {
            addCriterion("db_link_id =", value, "db_link_id");
            return (DmPlanCriteria) this;
        }

        public DmPlanCriteria andDbLinkIdNotEqualTo(Integer value) {
            addCriterion("db_link_id <>", value, "db_link_id");
            return (DmPlanCriteria) this;
        }

        public DmPlanCriteria andDbLinkIdGreaterThan(Integer value) {
            addCriterion("db_link_id >", value, "db_link_id");
            return (DmPlanCriteria) this;
        }

        public DmPlanCriteria andDbLinkIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("db_link_id >=", value, "db_link_id");
            return (DmPlanCriteria) this;
        }

        public DmPlanCriteria andDbLinkIdLessThan(Integer value) {
            addCriterion("db_link_id <", value, "db_link_id");
            return (DmPlanCriteria) this;
        }

        public DmPlanCriteria andDbLinkIdLessThanOrEqualTo(Integer value) {
            addCriterion("db_link_id <=", value, "db_link_id");
            return (DmPlanCriteria) this;
        }

        public DmPlanCriteria andDbLinkIdLike(Integer value) {
            addCriterion("db_link_id like ", value, "db_link_id", 1);
            return (DmPlanCriteria) this;
        }

        public DmPlanCriteria andDbLinkIdNotLike(Integer value) {
            addCriterion("db_link_id  not like ", value, "db_link_id", 1);
            return (DmPlanCriteria) this;
        }

        public DmPlanCriteria andDbLinkIdLeftLike(Integer value) {
            addCriterion("db_link_id like ", value, "db_link_id", 0);
            return (DmPlanCriteria) this;
        }

        public DmPlanCriteria andDbLinkIdNotLeftLike(Integer value) {
            addCriterion("db_link_id  not like ", value, "db_link_id", 0);
            return (DmPlanCriteria) this;
        }

        public DmPlanCriteria andDbLinkIdRightLike(Integer value) {
            addCriterion("db_link_id like ", value, "db_link_id", 2);
            return (DmPlanCriteria) this;
        }

        public DmPlanCriteria andDbLinkIdNotRightLike(Integer value) {
            addCriterion("db_link_id  not like ", value, "db_link_id", 2);
            return (DmPlanCriteria) this;
        }

        public DmPlanCriteria andDbLinkIdIn(List<Integer> values) {
            addCriterion("db_link_id  in ", values, "db_link_id");
            return (DmPlanCriteria) this;
        }

        public DmPlanCriteria andDbLinkIdNotIn(List<Integer> values) {
            addCriterion("db_link_id not in ", values, "db_link_id");
            return (DmPlanCriteria) this;
        }

        public DmPlanCriteria andDbLinkIdBetween(Integer value1, Integer value2) {
            addCriterion("db_link_id between ", value1, value2, "db_link_id");
            return (DmPlanCriteria) this;
        }

        public DmPlanCriteria andDbLinkIdNotBetween(Integer value1, Integer value2) {
            addCriterion("db_link_id not between ", value1, value2, "db_link_id");
            return (DmPlanCriteria) this;
        }
        public DmPlanCriteria andDbUserNameIsNull() {
            addCriterion("db_user_name is null");
            return (DmPlanCriteria) this;
        }

        public DmPlanCriteria andDbUserNameIsNotNull() {
            addCriterion("db_user_name is not null");
            return (DmPlanCriteria) this;
        }

        public DmPlanCriteria andDbUserNameEqualTo(String value) {
            addCriterion("db_user_name =", value, "db_user_name");
            return (DmPlanCriteria) this;
        }

        public DmPlanCriteria andDbUserNameNotEqualTo(String value) {
            addCriterion("db_user_name <>", value, "db_user_name");
            return (DmPlanCriteria) this;
        }

        public DmPlanCriteria andDbUserNameGreaterThan(String value) {
            addCriterion("db_user_name >", value, "db_user_name");
            return (DmPlanCriteria) this;
        }

        public DmPlanCriteria andDbUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("db_user_name >=", value, "db_user_name");
            return (DmPlanCriteria) this;
        }

        public DmPlanCriteria andDbUserNameLessThan(String value) {
            addCriterion("db_user_name <", value, "db_user_name");
            return (DmPlanCriteria) this;
        }

        public DmPlanCriteria andDbUserNameLessThanOrEqualTo(String value) {
            addCriterion("db_user_name <=", value, "db_user_name");
            return (DmPlanCriteria) this;
        }

        public DmPlanCriteria andDbUserNameLike(String value) {
            addCriterion("db_user_name like ", value, "db_user_name", 1);
            return (DmPlanCriteria) this;
        }

        public DmPlanCriteria andDbUserNameNotLike(String value) {
            addCriterion("db_user_name  not like ", value, "db_user_name", 1);
            return (DmPlanCriteria) this;
        }

        public DmPlanCriteria andDbUserNameLeftLike(String value) {
            addCriterion("db_user_name like ", value, "db_user_name", 0);
            return (DmPlanCriteria) this;
        }

        public DmPlanCriteria andDbUserNameNotLeftLike(String value) {
            addCriterion("db_user_name  not like ", value, "db_user_name", 0);
            return (DmPlanCriteria) this;
        }

        public DmPlanCriteria andDbUserNameRightLike(String value) {
            addCriterion("db_user_name like ", value, "db_user_name", 2);
            return (DmPlanCriteria) this;
        }

        public DmPlanCriteria andDbUserNameNotRightLike(String value) {
            addCriterion("db_user_name  not like ", value, "db_user_name", 2);
            return (DmPlanCriteria) this;
        }

        public DmPlanCriteria andDbUserNameIn(List<String> values) {
            addCriterion("db_user_name  in ", values, "db_user_name");
            return (DmPlanCriteria) this;
        }

        public DmPlanCriteria andDbUserNameNotIn(List<String> values) {
            addCriterion("db_user_name not in ", values, "db_user_name");
            return (DmPlanCriteria) this;
        }

        public DmPlanCriteria andDbUserNameBetween(String value1, String value2) {
            addCriterion("db_user_name between ", value1, value2, "db_user_name");
            return (DmPlanCriteria) this;
        }

        public DmPlanCriteria andDbUserNameNotBetween(String value1, String value2) {
            addCriterion("db_user_name not between ", value1, value2, "db_user_name");
            return (DmPlanCriteria) this;
        }
        public DmPlanCriteria andTableNameIsNull() {
            addCriterion("TABLE_NAME is null");
            return (DmPlanCriteria) this;
        }

        public DmPlanCriteria andTableNameIsNotNull() {
            addCriterion("TABLE_NAME is not null");
            return (DmPlanCriteria) this;
        }

        public DmPlanCriteria andTableNameEqualTo(String value) {
            addCriterion("TABLE_NAME =", value, "TABLE_NAME");
            return (DmPlanCriteria) this;
        }

        public DmPlanCriteria andTableNameNotEqualTo(String value) {
            addCriterion("TABLE_NAME <>", value, "TABLE_NAME");
            return (DmPlanCriteria) this;
        }

        public DmPlanCriteria andTableNameGreaterThan(String value) {
            addCriterion("TABLE_NAME >", value, "TABLE_NAME");
            return (DmPlanCriteria) this;
        }

        public DmPlanCriteria andTableNameGreaterThanOrEqualTo(String value) {
            addCriterion("TABLE_NAME >=", value, "TABLE_NAME");
            return (DmPlanCriteria) this;
        }

        public DmPlanCriteria andTableNameLessThan(String value) {
            addCriterion("TABLE_NAME <", value, "TABLE_NAME");
            return (DmPlanCriteria) this;
        }

        public DmPlanCriteria andTableNameLessThanOrEqualTo(String value) {
            addCriterion("TABLE_NAME <=", value, "TABLE_NAME");
            return (DmPlanCriteria) this;
        }

        public DmPlanCriteria andTableNameLike(String value) {
            addCriterion("TABLE_NAME like ", value, "TABLE_NAME", 1);
            return (DmPlanCriteria) this;
        }

        public DmPlanCriteria andTableNameNotLike(String value) {
            addCriterion("TABLE_NAME  not like ", value, "TABLE_NAME", 1);
            return (DmPlanCriteria) this;
        }

        public DmPlanCriteria andTableNameLeftLike(String value) {
            addCriterion("TABLE_NAME like ", value, "TABLE_NAME", 0);
            return (DmPlanCriteria) this;
        }

        public DmPlanCriteria andTableNameNotLeftLike(String value) {
            addCriterion("TABLE_NAME  not like ", value, "TABLE_NAME", 0);
            return (DmPlanCriteria) this;
        }

        public DmPlanCriteria andTableNameRightLike(String value) {
            addCriterion("TABLE_NAME like ", value, "TABLE_NAME", 2);
            return (DmPlanCriteria) this;
        }

        public DmPlanCriteria andTableNameNotRightLike(String value) {
            addCriterion("TABLE_NAME  not like ", value, "TABLE_NAME", 2);
            return (DmPlanCriteria) this;
        }

        public DmPlanCriteria andTableNameIn(List<String> values) {
            addCriterion("TABLE_NAME  in ", values, "TABLE_NAME");
            return (DmPlanCriteria) this;
        }

        public DmPlanCriteria andTableNameNotIn(List<String> values) {
            addCriterion("TABLE_NAME not in ", values, "TABLE_NAME");
            return (DmPlanCriteria) this;
        }

        public DmPlanCriteria andTableNameBetween(String value1, String value2) {
            addCriterion("TABLE_NAME between ", value1, value2, "TABLE_NAME");
            return (DmPlanCriteria) this;
        }

        public DmPlanCriteria andTableNameNotBetween(String value1, String value2) {
            addCriterion("TABLE_NAME not between ", value1, value2, "TABLE_NAME");
            return (DmPlanCriteria) this;
        }
	}

	public static class DmPlanCriteria extends GeneratedCriteria {

		protected DmPlanCriteria() {
			super();
		}
	}

	public static class DmPlanCriterion {
		private String condition;

		private Object value;

		private Object secondValue;

		private boolean noValue;

		private boolean singleValue;

		private boolean betweenValue;

		private boolean listValue;

		private String typeHandler;

		public String getCondition() {
			return condition;
		}

		public Object getValue() {
			return value;
		}

		public Object getSecondValue() {
			return secondValue;
		}

		public boolean isNoValue() {
			return noValue;
		}

		public boolean isSingleValue() {
			return singleValue;
		}

		public boolean isBetweenValue() {
			return betweenValue;
		}

		public boolean isListValue() {
			return listValue;
		}

		public String getTypeHandler() {
			return typeHandler;
		}

		protected DmPlanCriterion(String condition) {
			super();
			this.condition = condition;
			this.typeHandler = null;
			this.noValue = true;
		}

		protected DmPlanCriterion(String condition, Object value, int likeType) {
			this.condition = condition;
			if (likeType == 0) {
				this.value = "%" + value;
			} else if (likeType == 1) {
				this.value = "%" + value + "%";
			} else {
				this.value = value + "%";
			}
			this.typeHandler = null;
			this.singleValue = true;

		}

		protected DmPlanCriterion(String condition, Object value, String typeHandler) {
			super();
			this.condition = condition;
			this.value = value;
			this.typeHandler = typeHandler;
			if (value instanceof List<?>) {
				this.listValue = true;
			} else {
				this.singleValue = true;
			}
		}

		protected DmPlanCriterion(String condition, Object value) {
			this(condition, value, null);
		}

		protected DmPlanCriterion(String condition, Object value, Object secondValue, String typeHandler) {
			super();
			this.condition = condition;
			this.value = value;
			this.secondValue = secondValue;
			this.typeHandler = typeHandler;
			this.betweenValue = true;
		}

		protected DmPlanCriterion(String condition, Object value, Object secondValue) {
			this(condition, value, secondValue, null);
		}
	}
}